package com.three.sb_group3.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("movies")
public class Movies {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id; // 对应 SQL 中的 id
    private String movieName;
    private String director;
    private String genre;
    private String mainActors;
    private String description;
    private String releaseDate;
    private int likes;
    private String comments;



}
